package com.sc.nft.req.mallCart;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author：LiGen
 * @Package：com.metago.mallmini.domain.req.cart
 * @Project：meta_mall_mini_app
 * @name：CartOneReq
 * @Date：2024/5/27 18:11
 * @Filename：CartOneReq
 */
@Data
public class CartOneReq {

    @ApiModelProperty("小程序用户Id")
    private Long miniUserId;

    @ApiModelProperty("活动Id")
    private Long activityId;

    @ApiModelProperty("活动规格Id")
    private Long activitySpecsId;

    public static CartOneReq build(Long miniUserId, Long activityId, Long activitySpecsId) {
        CartOneReq req = new CartOneReq();
        req.setMiniUserId(miniUserId);
        req.setActivityId(activityId);
        req.setActivitySpecsId(activitySpecsId);
        return req;
    }

}
